Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.categorization.defaultLanguageCategorizer--categorizers

This contribution is part of XML component org.nuxeo.ecm.platform.categorization.defaultLanguageCategorizer inside nuxeo-platform-categorization-language-6.0.jar

Documentation

Default categorizers to guess dc:language.

Extension Point

Extension point categorizers of component DocumentCategorizationService.

Contributed Items

  • <categorizer enabled="true" factory="org.nuxeo.ecm.platform.categorization.categorizer.LanguageCategorizerFactory" name="dc:language" property="dc:language">
         <skip>
          <facet name="Folderish"/>
         </skip>
         <mapping>
           <outcome name="german">de</outcome>
           <outcome name="english">en</outcome>
           <outcome name="french">fr</outcome>
           <outcome name="spanish">sp</outcome>
           <outcome name="italian">it</outcome>
         </mapping>
       </categorizer>

XML Source

<extension point="categorizers" target="org.nuxeo.ecm.platform.categorization.service.DocumentCategorizationService">

    <documentation>
      Default categorizers to guess dc:language.
    </documentation>

    <categorizer enabled="true" factory="org.nuxeo.ecm.platform.categorization.categorizer.LanguageCategorizerFactory" name="dc:language" property="dc:language">
     <skip>
      <facet name="Folderish"/>
     </skip>
     <mapping>
       <outcome name="german">de</outcome>
       <outcome name="english">en</outcome>
       <outcome name="french">fr</outcome>
       <outcome name="spanish">sp</outcome>
       <outcome name="italian">it</outcome>
     </mapping>
   </categorizer>

  </extension>